Journals
  Publication Years
  Keywords
Search within results Open Search
Please wait a minute...
For Selected: Toggle Thumbnails
High performance simulation of Win32 environment in Android system
HU Jiajie, JIANG Letian
Journal of Computer Applications    2015, 35 (3): 886-890.   DOI: 10.11772/j.issn.1001-9081.2015.03.886
Abstract586)      PDF (776KB)(437)       Save

To solve the problem that Win32 applications cannot run directly in Android system, a high performance solution was proposed to simulate the Win32 environment. By dynamically translating x86 program consisted of Translation Blocks (TB) into Advanced Reduced Instruction Set Computing Machine (ARM) instructions and then executing it, the instruction compatibility issue was solved. At the same time, with the help of Wine, a compatibility layer, Win32 API invocations were converted into Linux system calls ultimately. In this way, emulation of the whole operating system was avoided. Moreover, to achieve the adaption between the X window system and the graphics stack in Android, an X display server with a virtual Framebuffer backend was adopted in the graphics system, and images were shown on the physical screen through the Virtual Network Computing (VNC) protocol. The system can finish its initialization within 30 seconds, occupying less than 150MB of memory, while its performance in GUI rendering, file I/O and floating-point calculation can generally be over 3 times better than solutions based on full-system emulation in the experiments. The results show that the proposed framework features fast startup and low resource consumption, and it can provide a high performance simulation scheme of Win32 environment in Android.

Reference | Related Articles | Metrics